package org.jeecg.modules.c.service.impl;

import org.jeecg.modules.c.entity.MDevice;
import org.jeecg.modules.c.mapper.MDeviceMapper;
import org.jeecg.modules.c.service.IMDeviceService;
import org.jeecg.modules.concat.FocConcat;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 设备管理
 * @Author: jeecg-boot
 * @Date: 2024-11-05
 * @Version: V1.0
 */
@Service
public class MDeviceServiceImpl extends ServiceImpl<MDeviceMapper, MDevice> implements IMDeviceService {


    @Autowired
    private MDeviceMapper mDeviceMapper;

    @Override
    public void toDeviceConvert(MDevice mDevice) {
        // 如果设备id不为空，则转换设备
        if (mDevice.getDeviceid() != null) {

        }

    }

    @Override
    public String getMaxSellno(String deviceType) {
      return   mDeviceMapper.getMaxSellno(deviceType);

    }
}
